/*
 * UIControlDes.h
 *
 *  Created on: 2010-4-6
 *      Author: Administrator
 */

#ifndef UICONTROLDES_H_
#define UICONTROLDES_H_

#define UIControl_Attribute_MaxLength 	32
#define UIControl_Value_MaxLength		32

_LIT8(KVertivalLayout,"VerticalLayout");
_LIT8(KCtrlLabel,"Label");
_LIT8(KCtrlImage,"Image");

//布局属性
_LIT(KStyleWidth,"width");
_LIT(KStyleHeight,"height");
_LIT(KStyleMargin,"margin");
_LIT(KStylePadding,"padding");
_LIT(KStyleBorder,"border");
_LIT(KStyleBorderLeft,"border-left");
_LIT(KStyleBorderRight,"border-right");
_LIT(KStyleBorderTop,"border-top");
_LIT(KStyleBorderBottom,"border-bottom");

//渲染属性
_LIT(KPropertyBackimage,"background-image");
_LIT(KPropertyBackcolor,"background-color");
_LIT(KPropertyOpacity,"opacity");
_LIT(KPropertyCorner,"corner");
_LIT(KPropertyRepeatX,"repeat-x");
_LIT(KPropertyRepeatY,"repeat-y");

//Control属性
_LIT(KPropertyText,"text");  //Label
_LIT(KImagePropSrc,"src");  //image


_LIT(KInterfaceControl,"IUIControl");
_LIT(KInterfaceContainer,"IUIContainer");

//文本的属性
_LIT8(KTextStyle,"style");
_LIT(KTextStyleFont,"font");
_LIT(KTextStyleFontSize,"font-size");
_LIT(KTextStyleColor,"color");
_LIT(KTextStyleBackColor,"backcolor");
_LIT(KTextStyleBold,"bold");
_LIT(KTextStyleItalic,"italic");

//字体
_LIT(KFontAnnotation,"Annotation");
_LIT(KFontTitle,"Title");
_LIT(KFontLegend,"Legend");
_LIT(KFontSymbol,"Symbol");
_LIT(KFontDense,"Dense");

//颜色
_LIT(KHStrBlack, "black");
_LIT(KHStrRed, "red");
_LIT(KHStrGreen, "green");
_LIT(KHStrBlue, "blue");
_LIT(KHStrYellow, "yellow");
_LIT(KHStrMagenta, "magenta");
_LIT(KHStrCyan, "cyan");
_LIT(KHStrGray, "gray");
_LIT(KHStrWhite, "white");
#endif /* UICONTROLDES_H_ */
